package model;

import java.util.ArrayList;
import java.util.List;

/**
 * This class represents a Java object. It contains a classname and a list of <a>Attribute</a>
 * @author Corentin
 *
 */
public class JavaObject {
	
	private String className;
	private List<Attribute> fields;

	/**
	 * Defaut constructor
	 */
	public JavaObject() {
		this.setClassName(null);
		this.fields = new ArrayList<Attribute>();
	}
	
	public void setFields(List<Attribute> list) {
		this.fields = list;
	}
	
	public List<Attribute> getFields() {
		return this.fields;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}
	
}
